package com.atguigu.eduservice.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @author kabuda
 * @create 2023-05-19 22:15
 */
@FeignClient("edu-order")
public interface OrderFeignService {

    @GetMapping("/eduorder/isBuy")
     boolean isBuy(@RequestParam("courseId") String courseId, @RequestParam("memberId") String memberId);
}
